🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators nullValue
Created by Alexandra on 2017-08-13 · Last edited by Charles on 2025-12-08.


A typed null value, used to assign a null value to an attribute, a variable or return null from a method.

someobject.someattribute := <Type>.nullValue

Do not use <Type>.nullValue to compare something to null, like this

vCurrent_UppdragTyp = Uppdragstyp.nullValue    -- WRONG

For comparing to null, use the operators .isNull or .notNull